<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>优酷轮播图样式</title>
    <style>
        *{margin:0;padding:0;}
        #wrap{
            width:970px;
            height:300px;
            margin:50px auto;
            position:relative;
           /* overflow:hidden;*/
        }

        #pic{
            width:970px;
            height:270px;
            position:relative;
        }
        #pic li{
            list-style:none;
            width:0;
            height:0;
            position: absolute;
            top:0;
            left:0;
        }
        #pic li img{
            width:100%;
            height:100%;
        }
        #pic li span{
            width:100%;
            height:100%;
            position:absolute;
            top:0;
            left:0;
            filter:alpha(opacity=50);
            bacgkround:rgba(0,0,0,0.5);
            display:none;
        }
        #pic li.l1{
            width:640px;
            height:270px;
            left:165px;
            top:0;
            z-index: 10;
        }
        #pic li.l2{
            width:530px;
            height:220px;
            top:25px;
            left:440px;
            z-index: 9;
        }
        #pic li.l0{
            width:530px;
            height:220px;
            top:25px;
            left:0px;
            z-index: 9;
        }
        #pic li.l3{
            width:300px;
            height:150px;
            top:60px;
            left:970px;
            z-index: 8;
        }
        #pic li.l3{
            width:300px;
            height:150px;
            top:60px;
            left:-300px;
            z-index: 8;
        }
        /*左右按扭*/
        #btn div{
            width:45px;
            height:45px;
            position: absolute;
            top:50%;
            margin-top:-22px;
            z-index: 999;
            cursor: pointer;
        }
      #left{
            background:url(img/left.png);
            left:0;
        }
        #right{
            background:url(img/right.png);
            right:0;
        }
    </style>
</head>
<body>
<div id="wrap">
    <div id="pic">
        <li class="l1"><img src="img/1.jpg" alt=""/></li>
        <li class="l2"><img src="img/2.jpg" alt=""/></li>
        <li class="l3"><img src="img/3.jpg" alt=""/></li>
        <li><img src="img/4.jpg" alt=""/></li>
        <li><img src="img/5.jpg" alt=""/></li>
        <li><img src="img/6.jpg" alt=""/></li>
        <li><img src="img/7.jpg" alt=""/></li>
        <li><img src="img/8.jpg" alt=""/></li>
        <li class="l9"><img src="img/9.jpg" alt=""/></li>
        <li class="l0"><img src="img/10.jpg" alt=""/></li>
    </div>
    <div id="btn">
        <div id="left"></div>
        <div id="right"></div>
    </div>
</div>

<script src="js/jquery-1.12.1.min.js"></script>
<script>
    (function(){
        var $left = $("#left");
        var right = $("#right");
        var $li = $("#pic li");

        $li.append("<span></span>");
        $("#pic li span").eq(0).css('display','none');

        $right.click(function(){

        });
    })();
</script>
</body>
</html>